package com.training.arrays;

import java.util.Arrays;

public class ArraysFillDemo {
	public static void main(String[] args) {
		int[] a = {1,2,3,4,5};
		Arrays.fill(a, 0);
		print(a);
	}
	public static void print(int[] a) {
		for(int t:a) {
			System.out.print(t+"\t");
		}
		System.out.println();
	}
}
